package com.sean.collectvideourl;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController("/index")
public class index {
    @PostMapping()
    public String collect(@RequestBody Video video){
        System.out.println(video);
        return "ok";
    }
}
